<script type="text/javascript" language="javascript" src="js/adrese.js"></script>
<div>
	<!-- REGION -->
	<label for="{{$new_region}}">Region:</label>
	<select name="{{$new_region}}" id="{{$new_region}}" onchange="updateSelectsAdresa(this,'region')">
		{{%loop start region_id}}
		<option value="{{$region_id}}">{{$region_name}}</option>
		{{%loop end}}
	</select>
	<!-- OPSTINA -->
	<label for="{{$new_opstina}}">Opština:</label>
	<select name="{{$new_opstina}}" id="{{$new_opstina}}" onchange="updateSelectsAdresa(this,'opstina')">
		{{%loop start opstina_id}}
		<option value="{{$opstina_id}}" parent="{{$opstina_parent}}">{{$opstina_name}}</option>
		{{%loop end}}
	</select><br clear="all" />
	<!-- MESTO -->
	<label for="{{$new_grad}}">Grad:</label>
	<select name="{{$new_grad}}" id="{{$new_grad}}" onchange="updateSelectsAdresa(this,'grad')">
		{{%loop start grad_id}}
		<option value="{{$grad_id}}" ptt="{{$grad_ptt}}" parent="{{$grad_parent}}">{{$grad_name}}</option>
		{{%loop end}}
	</select>
	<!-- LOK.OPSTINA -->
	<label for="{{$new_lokopstina}}">Lok.opština:</label>
	<select name="{{$new_lokopstina}}" id="{{$new_lokopstina}}" onchange="updateSelectsAdresa(this,'lok_opstina')">
		<option value="-1">---</option>
		{{%loop start lokopstina_id}}
		<option value="{{$lokopstina_id}}" ptt="{{$lokopstina_ptt}}" parent="{{$lokopstina_parent}}">{{$lokopstina_name}}</option>
		{{%loop end}}
	</select><br clear="all" />
	<!-- NASELJE -->
	<label for="{{$new_naselje}}">Naselje:</label>
	<select name="{{$new_naselje}}" id="{{$new_naselje}}" onchange="updateSelectsAdresa(this,'naselje')">
		<option value="-1">---</option>
		{{%loop start naselje_id}}
		<option value="{{$naselje_id}}" ptt="{{$naselje_ptt}}" parent="{{$naselje_parent}}">{{$naselje_name}}</option>
		{{%loop end}}
	</select><br clear="all" />
	<!-- ULICA I BROJ -->
	<label for="{{$new_ulica}}">Ulica:</label>
	<input disabled="disabled" type="text" name="{{$new_ulica}}" id="{{$new_ulica}}" />
	<input type="hidden" name="{{$new_ulica_id}}" id="{{$new_ulica_id}}" value="" />
	<a id="select_{{$new_ulica}}" href="javascript:void(0)" onclick="searchUlice(this,'{{$new_ulica}}','{{$new_ulica_id}}','{{$search_ul_type}}')" title="promenite ulicu"><img style="margin:7px 10px 0px 0px;" src="gui/icons/search.gif" border="0" align="left" alt="" /></a>
	<label for="{{$new_broj}}" style="width:auto">broj:</label><input style="width:50px;" type="text" name="{{$new_broj}}" id="{{$new_broj}}" size="10" />
</div>